Using a Goal - driven Approach toGenerate Test Cases for GUIsAtif

نویسندگان

  • Atif M. Memon
  • Martha E. Pollack
  • Mary Lou
چکیده

The widespread use of GUIs for interacting with software is leading to the construction of more and more complex GUIs. With the growing complexity comes challenges in testing the correctness of a GUI and the underlying software. We present a new technique to automatically generate test cases for GUIs that exploits planning, a well developed and used technique in ar-tiicial intelligence. Given a set of operators, an initial state and a goal state, a planner produces a sequence of the operators that will change the initial state to the goal state. Our test case generation technique rst analyzes a GUI and derives hierarchical planning operators from the actions in the GUI. The test designer determines the preconditions and eeects of the hierarchical operators, which are then input into a planning system. With the knowledge of the GUI and the way in which the user will interact with the GUI, the test designer creates sets of initial and goal states. Given these initial and nal states of the GUI, a hierarchical planner produces plans, or a set of test cases, that enable the goal state to be reached. Our technique has the additional beneet of putting veriication commands into the test cases automatically. We implemented our technique by developing the GUI analyzer and extending a planner. We generated test cases for Microsoft's Word-Pad to demonstrate the viability and practicality of the approach.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

External and Internal Incompressible Viscous Flows Computation using Taylor Series Expansion and Least Square based Lattice Boltzmann Method

The lattice Boltzmann method (LBM) has recently become an alternative and promising computational fluid dynamics approach for simulating complex fluid flows. Despite its enormous success in many practical applications, the standard LBM is restricted to the lattice uniformity in the physical space. This is the main drawback of the standard LBM for flow problems with complex geometry. Several app...

متن کامل

A comparison between knowledge-driven fuzzy and data-driven artificial neural network approaches for prospecting porphyry Cu mineralization; a case study of Shahr-e-Babak area, Kerman Province, SE Iran

The study area, located in the southern section of the Central Iranian volcano–sedimentary complex, contains a large number of mineral deposits and occurrences which is currently facing a shortage of resources. Therefore, the prospecting potential areas in the deeper and peripheral spaces has become a high priority in this region. Different direct and indirect methods try to predict promising a...

متن کامل

An Analytical Approach to the Effect of Viscous Dissipation on Shear-Driven Flow between two parallel plates with Constant Heat Flux Boundary Conditions

An investigation has been made to analyze the effects of viscous dissipation on the heat transfer characteristics for both hydro-dynamically and thermally fully developed, laminar shear driven flow between two infinitely long parallel plates, where the upper plate is moving in an axial direction at a constant speed. On the basis of some routine assumptions made in the literature, a close form a...

متن کامل

Mixed Convection of Variable Properties Al2O3-EG-Water Nanofluid in a Two-Dimensional Lid-Driven Enclosure

In this paper, mixed convection of Al2O3-EG-Water nanofluid in a square lid-driven enclosure is investigated numerically. The focus of this study is on the effects of variable thermophysical properties of the nanofluid on the heat transfer characteristics. The top moving and the bottom stationary horizontal walls are insulated, while the vertical walls are kept at different constant temperature...

متن کامل

An iterative method for tri-level quadratic fractional programming problems using fuzzy goal programming approach

Tri-level optimization problems are optimization problems with three nested hierarchical structures, where in most cases conflicting objectives are set at each level of hierarchy. Such problems are common in management, engineering designs and in decision making situations in general, and are known to be strongly NP-hard. Existing solution methods lack universality in solving these types of pro...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999